package com.hh.feign;

import com.hh.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Author 辉辉 2022/8/21 14:25
 */
@FeignClient(value = "member-service")
public interface ProdCommMemberFeign {
    /**
     * 远程调用获取用户的信息集合
     *
     * @param userIds
     * @return
     */
    @PostMapping("/p/findUserInfoByIds")
    List<User> findUserInfoByIds(@RequestBody List<String> userIds);
}
